{include file="public/account_head"}
<div class="pub_wid notice_cont" id="auditLoading">
    <dl class="examine widthauto">
        <dt><img src="/static/index/public/images/examine.jpg" /></dt>
        <dd>资料已提交，正在审核中...</dd><dd><a href="/">回到首页</a></dd>
    </dl>
</div>
{include file="public/account_footer"}
<script>
    var vmAuditLoading = new Vue({
        el:'#auditLoading',
        data:{
            id:'',
        },
        methods:{
            getMemberAllInfo:function () {
                var el = this;
                var postData = {
                    'id':el.id,
                }
                AjaxPost(postData,'/index/member/getMemberInfoById').then((response)=>{
                    if(response.status==1){
                        if(response.result.memberInfo!=null && response.result.memberInfo.status != 0){
                            window.location.href='/index/center/index'
                        }
                    }

                })
            }

        },
        mounted(){
            var member_status = localStorage.getItem("member_status")
            var member_category = localStorage.getItem("member_category")
            if(member_status != null && member_status !=0){
                if(member_category == 1){
                    window.location.href='/index/logistics/index'
                }else if(member_category == 2){
                    window.location.href='/index/logistics/index'
                }else {
                    window.location.href='/index/member/loginSuccess'
                }
            }
            if(localStorage.getItem("memberId") != null){
                this.id = localStorage.getItem("memberId");
                // this.getMemberAllInfo();
            }
            console.log(localStorage.getItem("memberId"));
        }
    })
</script>